package com.SuanFa.NiuKe;

public class aa {

    public static void main(String[] args) {
        int m = 1;
        int n = 2024;
        boolean fin = true;
        int i = 1;
        while (fin) {
            if (i % 20 == 0) {
                if (m < n) {
                    m++;
                } else if (m == n) {
                    m++;
                } else {
                    fin = false;
                }
            } else {
                if (i % 24 == 0) {
                    if (m < n) {
                        m++;
                    } else if (m == n) {
                        m++;
                    } else {
                        fin = false;
                    }
                }
            }
            i++;
        }
        long a = 202420242024L;
        long c = a / 2024;
        long b = c * i;
        System.out.println(b);
    }

}
